-
Notifications
You must be signed in to change notification settings - Fork 0
Introducing some mistakes #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -3020,6 +3020,7 @@ public void visitLambda(final JCLambda that) { | |||
if (needsRecovery) { | |||
attribTree(that, env, recoveryInfo); | |||
} | |||
return ; //wrong |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jackpot:
warning: The 'return' statement in the 'finally' block discards unhandled exceptions
@@ -2,7 +2,7 @@ | |||
* @test /nodynamiccopyright/ | |||
* @bug 8231827 | |||
* @summary Clashing bindings are reported correctly | |||
* @compile/fail/ref=BindingsExistTest.out -XDrawDiagnostics --enable-preview -source ${jdk.version} BindingsExistTest.java | |||
* @compile/fail/ref=BindingsExistTest.out -XDrawDiagnostics --enable-preview -source 15 BindingsExistTest.java |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jackpot:
warning: Hardcoded source version, should use ${jdk.version}
@@ -5,7 +5,7 @@ | |||
* @library /tools/javac/lib | |||
* @modules jdk.compiler | |||
* @build JavacTestingAbstractProcessor TestMultipleErrors | |||
* @compile/fail/ref=TestMultipleErrors.out -XDrawDiagnostics -processor TestMultipleErrors TestMultipleErrors.java | |||
* @compile/fail -XDrawDiagnostics -processor TestMultipleErrors TestMultipleErrors.java |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jackpot:
warning: Reference output missing
Fixing positions when transforming javadoc text with replacement characters.
No description provided.